package com.fmdj.customer.service;

import com.fmdj.common.util.PageUtils;
import com.fmdj.customer.controller.form.*;

import java.util.HashMap;

public interface OrderService {

    HashMap createOrder(CreateOrderForm form);

    Integer searchOrderStatus(SearchOrderStatusForm form);

    String deleteUnAcceptOrder(DeleteUnAcceptOrderForm form);

    HashMap hasCustomerCurrentOrder(HasCustomerCurrentOrderForm form);

    HashMap searchOrderForMoveById(SearchOrderForMoveByIdForm form);

    Boolean confirmArriveStartPlace(ConfirmArriveStartPlaceForm form);

    HashMap searchOrderById(SearchOrderByIdForm form);

    //  微信支付 返回订单信息的参数值
    HashMap createWxPayment(long orderId, long customerId, Long customerVoucherId, Long voucherId);

    String updateOrderAboutPayment(UpdateOrderAboutPaymentForm form);

    PageUtils searchCustomerOrderByPage(SearchCustomerOrderByPageForm form);
}
